package com.yili.oa.service;

import com.yili.oa.entity.SearchBase;
import com.yili.oa.models.Notice;
import com.yili.oa.vo.request.NoticeReq;
import com.yili.oa.vo.response.NoticeRes;

import java.util.List;

/**
 * @author lxr
 * @version v0.01
 * @date 2019/7/31 0031
 * @email 200890949@qq.com
 */
public interface NoticeService {

    public List<Notice> getList(SearchBase searchBase);

    void add(NoticeReq noticeReq);

    void delNotice(List<Long> list);

    void update(NoticeReq noticeReq);

    List<NoticeRes> getByType(Integer type);
}
